ComponentOne ASP.NET MVC Controls
Palette(IEnumerable<Color>) Method

C1.Web.Mvc.Fluent Namespace > TreeMapBuilder<T> Class > Palette Method : Palette(IEnumerable<Color>) Method
The color collection
Configurates C1.Web.Mvc.TreeMap<T>.Palette. Sets an array of default colors to be used in a treemap.
Syntax
'Declaration
 
Public Overloads Overrides Function Palette( _
   ByVal colors As IEnumerable(Of Color) _
) As TreeMapBuilder(Of T)
public override TreeMapBuilder<T> Palette( 
   IEnumerable<Color> colors
)

Parameters

colors
The color collection

Return Value

Current builder
Remarks
The array contains strings that represent CSS colors.
See Also

Reference

TreeMapBuilder<T> Class
TreeMapBuilder<T> Members
Overload List